//
//  DocumentConverter.h
//  DocConvert
//
//  Created by 克里斯龙 on 2024/8/15.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DocumentConverter : NSObject
- (void)convertDocumentFromURL:(NSURL *)documentURL
                      toFormat:(NSString *)format
                     completion:(void (^)(NSURL *convertedDocumentURL, NSError *error))completion;


-(void)convertDocument:(NSString *)inputFilePath
             toFormat:(NSString *)outputFormat
              complete:(void (^)(BOOL success, NSString *outputFilePath, NSError *error))completionHandler;
- (void)convertDOCXToPDF:(NSString *)pdfFilePath;
@end

NS_ASSUME_NONNULL_END
